@border: 1px solid #dce0e8;
@cellHeight: 44px;
@offset: -@cellHeight / 2;

.context {
    overflow-y: auto;
    &::after {
        display: table;
        content: '';
        clear: both;
    }
}

.hours {
    width: 64px;
    position: relative;
    z-index: 110;
    float: left;
    padding-bottom: 12px;
    // background: #fafafa;
    // 使用flex左右布局,会有底色没法填充全的问题,子元素高度无法超过父级flex设置的高度
}

.hourDegree {
    transform: translateY(@offset);
}

.hourItem {
    height: @cellHeight;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: #bcc1cd;
}

.detail {
    width: calc(100% - 64px);
    float: right;
}

.detailColumn {
    margin-top: @cellHeight;
    position: relative;
    border-bottom: @border;
}

.fillItem {
    position: absolute;
    background-color: rgba(255, 162, 45, 0.3);
    border: 1px solid rgba(255, 162, 45, 1);
    border-radius: 4px;
    .topDot,
    .bottomDot {
        position: absolute;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: #fff;
        border: 1px solid rgba(255, 162, 45, 1);
        content: '';
        display: block;
    }
    .topDot {
        top: 0;
        left: 8px;
        transform: translateY(-50%);
    }
    .bottomDot {
        right: 8px;
        bottom: 0;
        transform: translateY(50%);
    }
}

.cell {
    width: 100%;
    height: @cellHeight;
    border-top: @border;
}
